<?php
session_start();
?>
<html>
<head>
<title>Database Control Panel</title>
</head>
<body>

<?PHP
require_once("./include/membersite_config.php");

$gen = $_GET['gen'];

if ($gen == 1) 
{
	if($fgmembersite->DumpDatabase() == true)
	{
		print "Database created";
	}
}
else 
{
	if($fgmembersite->DeleteDatabase() == true)
	{
		print "Database deleted";
	}
}
?>

</body>
</html>